stitch up a deal

Translations
заключить сделку
The two companies managed to stitch up a deal by the end of the week.
Две компании смогли заключить сделку к концу недели.